<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style> 
        p.test1
        {
        width:11em; 
        border:1px solid #000000;
        word-wrap:normal;
        }
        p.test2
        {
        width:11em; 
        border:1px solid #000000;
        word-wrap:break-word;
        }
        </style>
</head>
<body>
    
<!-- word-wrap -->
<!-- normal	    只在允许的断字点换行（浏览器保持默认处理）。
     break-word	在长单词或 URL 地址内部进行换行。 -->
     <p class="test1">This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.</p>
     <p class="test2">This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.</p>

</body>
</html>